home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / library / hostinit.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-27  |  533 b   |  28 lines

  1. /* Copyright, 1990, Regents of the University of Colorado */
  2. /* code called by host routine to initialize and destroy environment structures*/
  3.  
  4. #include "D_lib.h"
  5. #include "internal.h"
  6. #include <stdio.h>
  7.  
  8. D_dino_finish()
  9.     {
  10. #if (D_MACH==D_CUBE)
  11.     lkill(-1,-1);
  12.     lwaitall(-1,-1);
  13. #elif (D_MACH==D_SIM)
  14.     lkill(-1,-1);
  15. #else
  16.     killcube(-1,-1);
  17. #endif
  18.     }
  19.  
  20. D_dino_main()
  21.     {
  22.     D_init_global_const();
  23.     D_init_global_map();
  24.     D_init_local_const();
  25.     D_init_local_map();
  26.     D_env_init(((int) D_last_env) + 1);
  27.     }
  28.